﻿namespace Ipmce.RemoteVoting.Common.Tools.CardReader.ImageParsing
{
	class BiometricInformation : LdsTagElement
	{
		public BiometricHeader BioHeader { get; set; }
		public BiometricData BioData { get; set; }

		public BiometricInformation(int number)
			: base(BioInfoTags.BiometricInformation, true, null, false)
		{
			BioHeader = new BiometricHeader(number);
			Children.Add(BioHeader);
			BioData = new BiometricData();
			Children.Add(BioData);
		}

		public BiometricInformation(BiometricHeader bioHeader, BiometricData bioData)
			: base(BioInfoTags.BiometricInformation, true, null, false)
		{
			BioHeader = bioHeader;
			Children.Add(bioHeader);
			BioData = bioData;
			Children.Add(bioData);
		}
	}
}